go/parser.parser.mode (field)
9 uses
go/parser (current package)
parser.go#L43: mode Mode // parsing mode
parser.go#L83: p.mode = mode
parser.go#L162: if p.mode&ParseComments == 0 {
parser.go#L284: if p.mode&AllErrors == 0 {
parser.go#L2901: if ident.Name == "_" && p.mode&DeclarationErrors != 0 {
parser.go#L2913: if p.mode&PackageClauseOnly == 0 {
parser.go#L2919: if p.mode&ImportsOnly == 0 {
parser.go#L2945: if p.mode&DeclarationErrors != 0 {
parser.go#L2948: if p.mode&SkipObjectResolution == 0 {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)